package gruppe7.model;

public class User {

    private final String username;
    private final int userID;
    private final boolean isAdmin;


    public User(String username, boolean isAdmin, int userID) {
        this.userID = userID;
        this.username = username;
        this.isAdmin = isAdmin;
    }

    public String getUsername() {
        return username;
    }

    public boolean isAdminUser() {
        return isAdmin;
    }

    public int getUserID() {
        return userID;
    }
}